package com.damenggroup.base.callback.databind

import androidx.databinding.ObservableField

/**
 *Customized ObservableField in which the value is Byte.it provides default value
 * to avoid determining whether its value is null when accessing its value
 */
class ByteObservableField(value: Byte = 0) : ObservableField<Byte>(value) {

    override fun get(): Byte {
        return super.get()!!
    }

}